package Job04.Person;

public abstract class Person {
    private int id;
    private String name;
    private String job;

    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getJob() {
        return job;
    }
    public void setJob(String job) {
        this.job = job;
    }

    public Person(int id, String name, String job) {
        this.id = id;
        this.name = name;
        this.job = job;
    }

    public Person() {
    }

    public abstract void talk();
}
